home *** CD-ROM | disk | FTP | other *** search
/ C++ für Kids / C++ for kids.iso / Buch / Rund2b.h < prev    next >
C/C++ Source or Header  |  1998-12-30  |  1KB  |  40 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef Rund2bH
  3. #define Rund2bH
  4. //---------------------------------------------------------------------------
  5. #include <vcl\Classes.hpp>
  6. #include <vcl\Controls.hpp>
  7. #include <vcl\StdCtrls.hpp>
  8. #include <vcl\Forms.hpp>
  9. #include <vcl\ExtCtrls.hpp>
  10. //---------------------------------------------------------------------------
  11.  
  12. class TKreis
  13. {
  14. public:
  15.   int x, y, Dicke;
  16.   void Erscheinen (void);
  17.   void Bewegen (void);
  18.   void Verschwinden (void);
  19.   TKreis (int xx, int yy, int dd);
  20. };
  21.  
  22. class TForm1 : public TForm
  23. {
  24. __published:    // IDE-verwaltete Komponenten
  25.     TButton *Button1;
  26.     TButton *Button2;
  27.     TButton *Button3;
  28.     void __fastcall Button1Click(TObject *Sender);
  29.     void __fastcall Button2Click(TObject *Sender);
  30.     void __fastcall Button3Click(TObject *Sender);
  31.     void __fastcall FormCreate(TObject *Sender);
  32. private:    // Benutzer-Deklarationen
  33. public:        // Benutzer-Deklarationen
  34.     __fastcall TForm1(TComponent* Owner);
  35. };
  36. //---------------------------------------------------------------------------
  37. extern TForm1 *Form1;
  38. //---------------------------------------------------------------------------
  39. #endif
  40.